<html>
<body>
<h2>Section 5 - Selectors</h2>
<p>
To see the Recommendation text for this section, click<a href="http://www.w3.org/TR/REC-CSS2/selector.html">here</a>.
NOTE: Tests 5.2-1 thru 5.2-3, 5.5-1 thru 5.5-7,
5.8-1 thru 5.8-7, 5.9-1 thru 5.9-4, 5.10-1 thru 5.10-5, 5.11-1 thru 5.11-7,
and 5.12-1 thru 5.12-30
are CSS1 tests, and should be valid for that part of the specification.
<p>
<h2>5.1 - Pattern Matching</h2>
<p>
<a href="5-01.htm">5.1-1</a><br>
<a href="5-02.htm">5.1-2</a><br>
<a href="5-03.htm">5.1-3</a><br>
<a href="5-04.htm">5.1-4</a><br>
<a href="5-05.htm">5.1-5</a><br>
<a href="5-06.htm">5.1-6</a><br>
<a href="5-07.htm">5.1-7</a><br>
<a href="5-08.htm">5.1-8</a><br>
<a href="5-09.htm">5.1-9</a><br>
<a href="5105-01.htm">5.1-10</a><br>
<p>
<h2>5.2 - Selector Syntax</h2>
<p>
<a href="../css/12-1.htm">5.2-1</a><br>
<a href="../css/12-2.htm">5.2-2</a><br>
<a href="../css/12-3.htm">5.2-3</a><br>
<a href="52-4.htm">5.2-4</a><br>
<a href="52-5.htm">5.2-5</a><br>
<a href="52-6.htm">5.2-6</a><br>
<a href="52-7.htm">5.2-7</a><br>
<a href="52-8.htm">5.2-8</a><br>
<a href="52-9.htm">5.2-9</a><br>
<a href="52-10.htm">5.2-10</a><br>
<p>
<h2>5.3 - Universal Selector</h2>
<p>
<a href="53-1.htm">5.3-1</a><br>
<a href="53-2.htm">5.3-2</a><br>
<a href="53-3.htm">5.3-3</a><br>
<a href="53-4.htm">5.3-4</a><br>
<a href="53-5.htm">5.3-5</a><br>
<a href="53-6.htm">5.3-6</a><br>
<a href="53-7.htm">5.3-7</a><br>
<a href="53-8.htm">5.3-8</a><br>
<a href="53-9.htm">5.3-9</a><br>
<a href="53-10.htm">5.3-10</a><br>
<p>
<h2>5.4 - Type Selectors</h2>
<p>
<a href="54-1.htm">5.4-1</a><br>
<a href="54-2.htm">5.4-2</a><br>
<a href="54-3.htm">5.4-3</a><br>
<a href="54-4.htm">5.4-4</a><br>
<a href="54-5.htm">5.4-5</a><br>
<a href="54-6.htm">5.4-6</a><br>
<a href="54-7.htm">5.4-7</a><br>
<a href="54-8.htm">5.4-8</a><br>
<a href="54-9.htm">5.4-9</a><br>
<a href="54-10.htm">5.4-10</a><br>
<p>
<h2>5.5 - Descendant Selectors</h2>
<p>
<a href="../css/16-1.htm">5.5-1</a><br>
<a href="../css/16-2.htm">5.5-2</a><br>
<a href="../css/16-3.htm">5.5-3</a><br>
<a href="../css/16-4.htm">5.5-4</a><br>
<a href="../css/16-5.htm">5.5-5</a><br>
<a href="../css/16-6.htm">5.5-6</a><br>
<a href="../css/16-7.htm">5.5-7</a><br>
<a href="55-8.htm">5.5-8</a><br>
<a href="55-9.htm">5.5-9</a><br>
<p>
<h2>5.6 - Child selectors</h2>
<p>
<a href="56-1.htm">5.6-1</a><br>
<a href="56-2.htm">5.6-2</a><br>
<a href="56-3.htm">5.6-3</a><br>
<a href="56-4.htm">5.6-4</a><br>
<a href="56-5.htm">5.6-5</a><br>
<a href="56-6.htm">5.6-6</a><br>
<a href="56-7.htm">5.6-7</a><br>
<a href="56-8.htm">5.6-8</a><br>
<a href="56-9.htm">5.6-9</a><br>
<a href="56-10.htm">5.6-10</a><br>
<p>
<h2>5.7 - Adjacent sibling selectors</h2>
<p>
<a href="57-1.htm">5.7-1</a><br>
<a href="57-2.htm">5.7-2</a><br>
<a href="57-3.htm">5.7-3</a><br>
<a href="57-4.htm">5.7-4</a><br>
<a href="57-5.htm">5.7-5</a><br>
<a href="57-6.htm">5.7-6</a><br>
<a href="57-7.htm">5.7-7</a><br>
<a href="57-8.htm">5.7-8</a><br>
<a href="57-9.htm">5.7-9</a><br>
<a href="57-10.htm">5.7-10</a><br>
<p>
<h2>5.8 - Attribute selectors</h2>
<p>
<a href="../css/14-1.htm">5.8-1</a><br>
<a href="../css/14-2.htm">5.8-2</a><br>
<a href="../css/14-3.htm">5.8-3</a><br>
<a href="../css/14-4.htm">5.8-4</a><br>
<a href="../css/14-5.htm">5.8-5</a><br>
<a href="../css/14-6.htm">5.8-6</a><br>
<a href="../css/14-7.htm">5.8-7</a><br>
<a href="58-8.htm">5.8-8</a><br>
<a href="58-9.htm">5.8-9</a><br>
<a href="58-10.htm">5.8-10</a><br>
<p>
<h2>5.9 - ID selectors</h2>
<p>
<a href="../css/15-1.htm">5.9-1</a><br>
<a href="../css/15-2.htm">5.9-2</a><br>
<a href="../css/15-3.htm">5.9-3</a><br>
<a href="../css/15-4.htm">5.9-4</a><br>
<a href="59-5.htm">5.9-5</a><br>
<a href="59-6.htm">5.9-6</a><br>
<a href="59-7.htm">5.9-7</a><br>
<a href="59-8.htm">5.9-8</a><br>
<p>
<h2>5.10 - Pseudo-elements and pseudo-classes</h2>
<p>
<a href="../css/20-1.htm">5.10-1</a><br>
<a href="../css/20-2.htm">5.10-2</a><br>
<a href="../css/20-3.htm">5.10-3</a><br>
<a href="../css/20-4.htm">5.10-4</a><br>
<a href="../css/20-5.htm">5.10-5</a><br>
<a href="510-6.htm">5.10-6</a><br>
<a href="510-7.htm">5.10-7</a><br>
<a href="510-8.htm">5.10-8</a><br>
<a href="510-9.htm">5.10-9</a><br>
<p>
<h2>5.11 - Pseudo-classes</h2>
<p>
<a href="../css/21-1.htm">5.11-1</a><br>
<a href="../css/21-2.htm">5.11-2</a><br>
<a href="../css/21-3.htm">5.11-3</a><br>
<a href="../css/21-4.htm">5.11-4</a><br>
<a href="../css/21-5.htm">5.11-5</a><br>
<a href="../css/21-6.htm">5.11-6</a><br>
<a href="../css/21-7.htm">5.11-7</a><br>
<a href="5.11-8.htm">5.11-8</a><br>
<a href="5.11-9.htm">5.11-9</a><br>
<a href="5.11-10.htm">5.11-10</a><br>
<a href="5.11-11.htm">5.11-11</a><br>
<a href="5.11-12.htm">5.11-12 - Appendix B.3 test for CSS2</a><br>
<p>
<h5>5.12 - Pseudo-elements</h2>
<p>
<a href="../css/22-1.htm">5.12-1</a><br>
<a href="../css/22-2.htm">5.12-2</a><br>
<a href="../css/22-3.htm">5.12-3</a><br>
<a href="../css/23-1.htm">5.12-4</a><br>
<a href="../css/23-2.htm">5.12-5</a><br>
<a href="../css/23-3.htm">5.12-6</a><br>
<a href="../css/23-4.htm">5.12-7</a><br>
<a href="../css/23-5.htm">5.12-8</a><br>
<a href="../css/24-1.htm">5.12-9</a><br>
<a href="../css/24-2.htm">5.12-10</a><br>
<a href="../css/24-3.htm">5.12-11</a><br>
<a href="../css/24-4.htm">5.12-12</a><br>
<a href="../css/24-5.htm">5.12-13</a><br>
<a href="../css/24-6.htm">5.12-14</a><br>
<a href="../css/24-7.htm">5.12-15</a><br>
<a href="../css/25-1.htm">5.12-16</a><br>
<a href="../css/25-2.htm">5.12-17</a><br>
<a href="../css/25-3.htm">5.12-18</a><br>
<a href="../css/25-4.htm">5.12-19</a><br>
<a href="../css/26-1.htm">5.12-20</a><br>
<a href="../css/26-2.htm">5.12-21</a><br>
<a href="../css/26-3.htm">5.12-22</a><br>
<a href="512-23.htm">5.12-23</a><br>
<a href="512-24.htm">5.12-24</a><br>
<p>
<!--
To enter your score for any of the above tests, go to this <a href="../enter.htm">form</a>.
To view previous results, click <a href="../view.htm">here </a>.
To propose additional tests, click<a href="../addtest.htm"> here</a>.
To comment on these tests, click<a href="../comment.htm"> here</a>.
-->
To return to the main menu, click<a href="index.html"> here</a>.
</body>
</html>
